in auto_translated_physmap mode. A new comment in that function explains
why this is an okay thing to do.
This avoids an unnecessary crash in Xen's skbuff_ctor.
Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
Signed-off-by: Keir Fraser <keir@xensource.com>
.domid = DOMID_SELF
};
- if (xen_feature(XENFEAT_auto_translated_physmap)) {
- BUG_ON(order >= 1);
+ /*
+ * Currently an auto-translated guest will not perform I/O, nor will
+ * it require PAE page directories below 4GB. Therefore any calls to
+ * this function are redundant and can be ignored.
+ */
+ if (xen_feature(XENFEAT_auto_translated_physmap))
return 0;
- }
scrub_pages(vstart, 1 << order);